package org.brisling.innerMail.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;
/**
 * 
 * <p>Title: MailUserDomain</p>
 * <p>Description: 邮件用户domain</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2017年5月1日 下午4:15:28
 */
@Entity
@Table(name=ConstSysParam.MODULE_MAIL_USER)
public class MailUserDomain extends BaseDomain implements BaseDomainInf{
	
	
	
	//邮件内容id
	private Long mailId;
	
	//接收人员
	private Long recive_userid;
	
	private String recive_user;
	
	//读取时间
	private Date readDate;
	
	//邮件状态
	@Column(length=2)
	private String status;//null:草稿，1:未读，2:已读，3:发送，4:回收站

	

	public Long getMailId() {
		return mailId;
	}

	public void setMailId(Long mailId) {
		this.mailId = mailId;
	}

	public Long getRecive_userid() {
		return recive_userid;
	}

	public void setRecive_userid(Long recive_userid) {
		this.recive_userid = recive_userid;
	}

	public String getRecive_user() {
		return recive_user;
	}

	public void setRecive_user(String recive_user) {
		this.recive_user = recive_user;
	}

	public Date getReadDate() {
		return readDate;
	}

	public void setReadDate(Date readDate) {
		this.readDate = readDate;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}	

}
